package com.hqd.ch03.v51.context.annotation;

import com.hqd.ch03.v51.beans.factory.config.BeanDefinition;

public class FullyQualifiedAnnotationBeanNameGenerator extends AnnotationBeanNameGenerator {

    /**
     * A convenient constant for a default {@code FullyQualifiedAnnotationBeanNameGenerator}
     * instance, as used for configuration-level import purposes.
     *
     * @since 5.2.11
     */
    public static final FullyQualifiedAnnotationBeanNameGenerator INSTANCE =
            new FullyQualifiedAnnotationBeanNameGenerator();


    @Override
    protected String buildDefaultBeanName(BeanDefinition definition) {
        String beanClassName = definition.getBeanClassName();
        return beanClassName;
    }

}
